package com.changgou.order.feign;

import com.changgou.entity.Result;
import com.changgou.order.pojo.Task;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

@FeignClient(name = "order")
@RequestMapping("/task")
public interface TaskFeign {

    @GetMapping
    public List<Task> find();
}
